cmake_minimum_required (VERSION 3.25)
project(Main)

set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR})
set (OpenCV_INCLUDE_DIRS C:/opencv/build/mingw/install/include)
set (OpenCV_LIBS C:/opencv/build/mingw/install/x64/mingw/bin/libopencv_world470.dll)

include_directories(${OpenCV_INCLUDE_DIRS}) 

add_executable(Main Main.cpp func.hpp)

TARGET_LINK_LIBRARIES(Main ${OpenCV_LIBS})